package GUI;
/**
 * 
 * Class for course data
 *
 */

public class RawCourse {
	public String Cid;
	public String CourseName;
	public String StudUnit;
	public Integer StudHours;
	public String ClassID;

	public RawCourse(String id, String name,String unit,String hours)
	{
		this.Cid=id;
		this.CourseName=name;
		this.StudUnit=unit;
		this.StudHours=Integer.parseInt(hours);
	}
	/**
	 * Empty constructor
	 */
	public RawCourse()
	{
		this.Cid=null;
		this.CourseName=null;
		this.StudUnit=null;
		this.StudHours=null;
		this.ClassID=null;
	}
	/**
	 * 
	 * @param id = Course ID
	 * @param name = Course name
	 * @param unit = Academic unit for the course
	 * @param hours = studied weekly hours
	 * @param classid = FK which class takes this course
	 */
	public RawCourse(String id, String name,String unit,String hours,String classid)
	{
		this.Cid=id;
		this.CourseName=name;
		this.StudUnit=unit;
		this.StudHours=Integer.parseInt(hours);
		this.ClassID=classid;
	}
	
}
